import request from "./http";


// 获取轮播图数据
export function getBanner():any{
    return request({
        url:"/page/discovery",
        method:"get"
    })
}
// 获取底部点击内容数据
export function getWorksShow(params:any):any{
    return request({
        url:"/articles",
        method:"get",
        params
    })
};
//热门搜索search/recommend_kws
export function getRecommendSearch():any{
    return request({
        url:"/search/recommend_kws",
        method:"get",
    })
};
//搜索列表search/recommend_kws
export function getSearchlist(params:any):any{
    return request({
        url:"/search",
        method:"get",
        params
    })
};




